package com.spring.aop;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.springframework.stereotype.Component;

@Component
@Aspect
public class MyAspect {

	@Before("execution(* com.spring.aop.HelloService.*(..))")
	public void myBefore(){
		System.out.println("MyAspect.myBefore \n");
	}

}
